package com.xliang.spider.version04.quartz;

import com.xliang.spider.version04.quartz.base.AbstractJobService;
import com.xliang.spider.version04.service.SpiderVideoService;

import javax.annotation.Resource;
import javax.annotation.Resources;

/**
 * ${DESCRIPTION}
 *
 * @author xiongl
 * @create 2016-06-30 11:40
 */
public class UpateVideoJob extends AbstractJobService
{
    @Resource
    private SpiderVideoService spiderVideoService;


    @Override
    public String getDescription()
    {
        return "定时任务：更新视频地址";
    }
    
    @Override
    public void doExecute()
        throws Exception
    {
        spiderVideoService.updateVideoUrl();
    }
}
